package com.cloudkinto.service.order.vo.rakuten;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/7/3 8:36
 * @description:
 */
@Data
public class OrderRakutenPackageExcelExportVo implements Serializable {
    /**
     * 送料
     */
    @Excel(name = "送料", width = 20,needMerge = true)
    private Integer postagePrice;

    /**
     * 送料税率
     */
    @Excel(name = "送料税率", width = 10,needMerge = true)
    private Integer postageTaxRate;

    /**
     * 代引料
     */
    @Excel(name = "代引料", width = 10,needMerge = true)
    private Integer deliveryPrice;

    /**
     * 代引料税率
     */
    @Excel(name = "代引料税率", width = 10,needMerge = true)
    private Integer deliveryTaxRate;

    /**
     * 商品税合计
     */
    @Excel(name = "商品税合计", width = 10,needMerge = true)
    private Integer goodsTax;

    /**
     * 商品合計金額
     */
    @Excel(name = "商品合計金額", width = 10,needMerge = true)
    private Integer goodsPrice;

    /**
     * 合計金額
     */
    @Excel(name = "合計金額", width = 10,needMerge = true)
    private Integer totalPrice;

    /**
     * 包裹是否被删除
     */
    @Excel(name = "包裹是否被删除", width = 10,needMerge = true)
    private Integer packageDeleteFlag;

    /**
     * 收货人邮编
     */
    @Excel(name = "收货人邮编", width = 10,needMerge = true)
    private String orderPostCode;

    /**
     * 收货人都道府県
     */
    @Excel(name = "收货人都道府県", width = 20,needMerge = true)
    private String orderPrefecture;

    /**
     * 收货人郡市区
     */
    @Excel(name = "收货人郡市区", width = 20,needMerge = true)
    private String orderCity;

    /**
     * 收货人住所
     */
    @Excel(name = "收货人住所", width = 20,needMerge = true)
    private String orderSubAddres;

    /**
     * 收货人姓名
     */
    @Excel(name = "收货人姓名", width = 20,needMerge = true)
    private String orderName;

    /**
     * 收货人姓通假
     */
    @Excel(name = "收货人姓通假", width = 20,needMerge = true)
    private String orderFamilyNameKana;

    /**
     * 收货人名通假
     */
    @Excel(name = "收货人名通假", width = 20,needMerge = true)
    private String orderFirstNameKana;

    /**
     * 收货人人电话
     */
    @Excel(name = "收货人人电话", width = 20,needMerge = true)
    private String orderPhoneNumber;

    /**
     * 是否離島  1 离岛
     */
    @Excel(name = "收货人人电话",replace = {"离岛_1","未离岛_0"},width = 10,needMerge = true)
    private Integer isolatedIslandFlag;

    @ExcelCollection(name = "商品信息")
    private List<OrderRakutenProductExcelExportVo> productExcelExportVoList;
}
